type net.scope
10 uses
net (current package)
addrselect.go#L61: Scope scope
addrselect.go#L305: type scope uint8
addrselect.go#L308: scopeInterfaceLocal scope = 0x1
addrselect.go#L309: scopeLinkLocal scope = 0x2
addrselect.go#L310: scopeAdminLocal scope = 0x4
addrselect.go#L311: scopeSiteLocal scope = 0x5
addrselect.go#L312: scopeOrgLocal scope = 0x8
addrselect.go#L313: scopeGlobal scope = 0xe
addrselect.go#L316: func classifyScope(ip netip.Addr) scope {
addrselect.go#L323: return scope(ipv6AsBytes[1] & 0xf)
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |